/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modeles;

/**
 *
 * @author elo
 */
public class panier {
      private jeu j = null;
      private int quantite = 0;

      public panier(jeu j, int q){
          this.j = j;
          this.quantite = q;
      }

      public jeu getJeu(){
          return j;
      }

      public int getQuantite(){
          return quantite;
      }

      public void add(){
          quantite ++;
      }

      public void supp(){
          if(quantite > 0)
              quantite --;
      }

}
